module.exports=User={
    // Users(option){
    //     return 'select * from users where tel = '+option.userTel+'';
    // },
    // Pwd(option){
    //     return 'select * from users where (tel = '+option.userTel+')+pwd ='+option.userPwd+' '
    // }
    Users(){
        return 'select * from users where tel = ?';
    },
    Pwd(){
        return 'select * from users where tel = ? and pwd =? '
    },
    //新增用户
    inserData(){
        return 'insert into users (tel,pwd,imgUrl,nickName,token) value (?,?,?,?,?)'
    },
    updateDate(){
        return 'update users set pwd=? where id=?'
    }
}